Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Media Functions / Video Media Handler Functions


SetVideoMediaGraphicsMode

The SetVideoMediaGraphicsMode function allows you to set the graphics mode and blend color of a video media.

pascal HandlerError SetVideoMediaGraphicsMode (MediaHandler mh,
                                       long graphicsMode, 
                                       const RGBColor *opColor);
mH
Contains a reference to a media handler. You obtain this reference from the GetMediaHandler function, which is described on page 2-265.
graphicsMode
Specifies the graphics mode of the media handler. This is a QuickDraw transfer mode value.
opColor
Contains a pointer to the color for use in blending and transparent operations. The media handler passes this color to QuickDraw as appropriate when you draw in addPin, subPin, blend, or transparent mode.
ERROR CODES
Component Manager errors

SEE ALSO
You can retrieve the graphics mode and blend color currently in use by a video media handler by calling the GetVideoMediaGraphicsMode function, which is described in the next section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996